import crypto from 'crypto';

export function sha1(str: string): string {
  return crypto.createHash('sha1').update(str).digest('hex');
}